package com.itheima.springTest.pojo;

import java.util.Arrays;

public class User {
    private String name;
    private Integer age;
    private Double income;
    private Boolean isMarry;
    private String[] interests;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getIncome() {
        return income;
    }

    public void setIncome(Double income) {
        this.income = income;
    }

    public Boolean getIsMarry() {
        return isMarry;
    }

    public void setIsMarry(Boolean isMarry) {
        this.isMarry = isMarry;
    }

    public String[] getInterests() {
        return interests;
    }

    public void setInterests(String[] interests) {
        this.interests = interests;
    }

    @Override
    public String toString() {
        return "User [name=" + name + ", age=" + age + ", income=" + income + ", isMarry=" + isMarry + ", interests=" + Arrays.toString(interests) + "]";
    }
}